using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Media;


namespace TrovaIntruso.core
{
    /// <summary>
    /// This is a game component that implements IUpdateable.
    /// </summary>
    public class RepetableTexture : Microsoft.Xna.Framework.DrawableGameComponent
    {
        public Texture2D Motivo { get; set; }
        public Rectangle CoverArea { get; set; }

        public RepetableTexture(Game game) : base(game){}

        public override void Draw(GameTime gameTime)
        {
            bool end = false;
            int widthTime = CoverArea.Width;
            int heighttime = Motivo.Height / CoverArea.Height;
            while (!end) {
                
                SpriteBatch s= StaticOperation.Batch;
                s.Begin();
                for (int i = 0; i < widthTime; i++)
                { 
                }
                    s.End();
            }
            base.Draw(gameTime);
        }
    }
}
